package germmy.groovy

import hello.MemberService

import org.springframework.beans.factory.annotation.Autowired

class MemberRuleService implements RuleService {
	
		@Autowired
		private MemberService memberService=null;
	
		public void doRule(String param) {
			//打印一下就代表收到参数了。后面会迭代优化
//			println arg0;
//			System.out.println("member service's param is :"+param
//				+"^_^member service's value is : "+memberService.findById(param));
			
			println("member service's param is :"+param
				+"^_^member service's value is : "+memberService.findById(param));
			
		};
}
